#ifndef MYLINEEDIT_H
#define MYLINEEDIT_H

#include <QWidget>
#include <QLineEdit>
#include <QMouseEvent>
#include "Keyboard.h"
#include "NumberKeyboard.h"
#include <QApplication>
#include <QFontDatabase>

class MyLineEdit : public QLineEdit
{
    Q_OBJECT
public:
    explicit MyLineEdit(QWidget *parent = nullptr);
    void mousePressEvent(QMouseEvent *e);
    void deal_input(QString S);
    void setDiable(bool numberDisable = false,bool letterDisable = false);
signals:
    void clicked();
};

#endif // MYLINEEDIT_H
